package com.xuetang9.cloudhouse.permissionserver.mapper;

import com.xuetang9.cloudhouse.commons.beans.Permission;
import com.xuetang9.cloudhouse.commons.beans.Role;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleMapper extends Mapper<Role> {
    List<Role> queryByUserId(@Param("userId") Long userId);
}
